import Mock from 'mockjs'

import { loginMock } from './login'
import { goodsListMock } from './goodsList'
import { roleListMock, userListMock } from './users'

Mock.mock('/api/login', 'post', loginMock)
Mock.mock('/api/goods/list', 'get', goodsListMock)
Mock.mock('/api/getRoleList', 'get', roleListMock)
Mock.mock('/api/user/list', 'get', userListMock)
